import instance from '../axios.service.js';
export default {
    getApiToken: (data) => instance.post(`/ai-repost/api/auth/get-api-token`, data),
    createApiToken: (data) => instance.post(`/ai-repost/api/auth/create-api-token`, data),
    login: (data) => instance.post(`/ai-repost/api/auth/login`, data),
    getUserList: (data) => instance.post(`/ai-repost/api/user/list`, data),
    createUser: (data) => instance.post(`/ai-repost/api/user/create`, data),
    updateUserInfo: (data) => instance.post(`/ai-repost/api/user/info-update`, data),
    updateUserStatus: (data) => instance.post(`/ai-repost/api/user/status-update`, data),
    updateUserPassword: (data) => instance.post(`/ai-repost/api/user/password-reset`, data),
    userRecharge: (data) => instance.post(`/ai-repost/api/user/recharge`, data),
    getModelList: (data) => instance.get(`/ai-repost/api/auth/model-list`, data),
    getRecordList: (data) => instance.post(`/ai-repost/api/record/query-list`, data),
    getLogList: (data) => instance.post(`/ai-repost/api/log/list`, data),
    getAllApp: () => instance.get(`/ai-repost/api/app/list`),
    createApp: (data) => instance.post(`/ai-repost/api/app/create`, data),
    updateAppStatus: (data) => instance.post(`/ai-repost/api/app/status-update`, data),

}
